package com.sc.nft.vo.points;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.enums.UserPointsOperateEnum;
import com.sc.nft.enums.UserPointsStateEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
*@author JYT
*@create 2024/5/13 18:49
*/
@Data
public class webPointsRecordsVO {
    /**
     * 锁定积分
     */
    @ApiModelProperty(value = "锁定积分")
    private BigDecimal points;
    /**
     * 操作类型
     */
    @ApiModelProperty(value = "操作类型  BUY_SELF  消费-自购,BUY_FRIEND  消费-好友下单,INVITE_REGISTER  邀请-好友注册,OFFICIAL_GIFT  官方赠送,OFFICIAL_TAKE_OUT  官方扣除,EXCHANGE_GOODS  兑换-兑换卡,REFUND_SELF  退款-自购,REFUND_FRIEND  退款-好友下单,EXPIRE  积分过期")
    private UserPointsOperateEnum operateType;
    /**
     * 状态
     */
    @ApiModelProperty(value = "状态 LOCK 锁定中, CAN_USE 未使用,USED 已使用, EXPIRED 已过期")
    private UserPointsStateEnum status;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
}
